From: Carlos Garnacho Date: Thu, 6 Feb 2020 09:33:27 +0000 (+0100) Subject: magnifier: Apply color inversion to crosshairs/pointer X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~777^2^2~161 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c150fe95b9001545f73f1cc1baf55d033686d82c;p=gnome-shell.git magnifier: Apply color inversion to crosshairs/pointer It is somewhat unexpected that crosshair color and pointer cursor colors remain the same across changes in color inversion settings, and may lead to contrast issues. Apply the effect on the common container, so it applies to these all. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984 --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index af6c2567d..8d2bf34a6 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -1324,7 +1324,7 @@ var ZoomRegion = class ZoomRegion { this._crossHairsActor = null; // Contrast and brightness effects. - this._magShaderEffects = new MagShaderEffects(this._uiGroupClone); + this._magShaderEffects = new MagShaderEffects(mainGroup); this._magShaderEffects.setColorSaturation(this._colorSaturation); this._magShaderEffects.setInvertLightness(this._invertLightness); this._magShaderEffects.setBrightness(this._brightness);